#sudo sed -i "s#cn.archive.ubuntu.com#mirrors.aliyun.com#g" /etc/apt/sources.list
#sudo sed -i "s#security.ubuntu.com#mirrors.aliyun.com#g" /etc/apt/sources.list
sudo apt update
sudo apt-get install build-essential bison flex autoconf libssl1.0-dev python-future
sudo apt-get install python-wxgtk3.0 pyro mercurial
sudo apt-get install python-nevow python-matplotlib python-lxml python-zeroconf python-cycler
sudo apt-get install python-autobahn python-u-msgpack
sudo apt-get install -y libpython2.7-dev python-pip 
apt-get install -y python-nevow python-matplotlib python-lxml python-zeroconf python-cycler python-autobahn python-u-msgpack libpython2.7-dev python-cffi 
pip2 install  -i http://pypi.douban.com/simple --trusted-host pypi.douban.com future zeroconf==0.19.1 numpy matplotlib==2.0.2 lxml pyro sslpsk
pip2 install -i http://pypi.douban.com/simple --trusted-host pypi.douban.com --upgrade pip
pip2 install -i http://pypi.douban.com/simple --trusted-host pypi.douban.com  sslpsk posix_spawn simplejson
pip2 install -i http://pypi.douban.com/simple --trusted-host pypi.douban.com pymeshviewer Gnosis
#git clone http://gitee.com/ipcun/PLCIDE
#mkdir -p PLCIDE/plcworkdir
#cd PLCIDE/matiec
#make clean
#autoreconf -i
#./configure
#make